package link.hwx.service.u9.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import link.hwx.mapper.u9.AssistanceContract2Mapper;
import link.hwx.service.u9.AssistanceContract2Service;
import link.hwx.service.u9.AssistanceContractService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@DS("SrmData")
@Service
public class AssistanceContract2ServiceImpl implements AssistanceContract2Service {
    @Autowired
    private AssistanceContract2Mapper assistanceContractMapper;

    @Override
    public List<Map<String, String>> selectColumnsHead() {
        return assistanceContractMapper.selectColumnsHead();
    }

    @Override
    public List<Map<String, String>> selectColumnsLine() {
        return assistanceContractMapper.selectColumnsLine();
    }

    @Override
    public Map<String, String> selectPoHeadById(String docNo) {
        return assistanceContractMapper.selectPoHeadById(docNo);
    }

    @Override
    public List<Map<String, String>> selectPoLineById(String docNo) {
        return assistanceContractMapper.selectPoLineById(docNo);
    }


}
